package com.bjsxt.pojo;

import java.io.Serializable;
import java.util.Date;

public class Book implements Serializable {

      private  Integer bid;
      private  String  bname;
      private  Double bprice;
      private Date  dtdate;
      private  String prod;

    public Book(){

    }
    public Book(Integer bid, String bname, Double bprice, Date dtdate, String prod) {
        this.bid = bid;
        this.bname = bname;
        this.bprice = bprice;
        this.dtdate = dtdate;
        this.prod = prod;
    }
    public Book( String bname, Double bprice, Date dtdate, String prod) {
        this.bid = bid;
        this.bname = bname;
        this.bprice = bprice;
        this.dtdate = dtdate;
        this.prod = prod;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public Double getBprice() {
        return bprice;
    }

    public void setBprice(Double bprice) {
        this.bprice = bprice;
    }

    public Date getDtdate() {
        return dtdate;
    }

    public void setDtdate(Date dtdate) {
        this.dtdate = dtdate;
    }

    public String getProd() {
        return prod;
    }

    public void setProd(String prod) {
        this.prod = prod;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bid=" + bid +
                ", bname='" + bname + '\'' +
                ", bprice=" + bprice +
                ", dtdate=" + dtdate +
                ", prod='" + prod + '\'' +
                '}';
    }
}
